package com.summer.framework.common.exception;

import com.summer.framework.common.enums.ErrorStatus;
import lombok.Data;
import lombok.ToString;

/**
 * @auther: 杨杰
 * @date: 2019/1/11 11:15
 * @description: 不存在异常
 */
@Data
@ToString
public class NotFoundException extends BaseException {

    public NotFoundException(Integer status, String message) {
        super(status, message);
    }

    public NotFoundException(String message) {
        super(ErrorStatus.NOT_FOUND.getStatus(), message);
    }

}
